package com.dms.shanshan;


import com.dms.shanshan.beans.PropertyValue;
import com.dms.shanshan.beans.PropertyValues;
import com.dms.shanshan.beans.config.BeanDefinition;
import org.junit.Test;

public class test {
    @Test
    public void testBasicDefine(){
        PropertyValue pv = new PropertyValue("name","杜小猪");
        PropertyValue pv2 = new PropertyValue("active",false);
        PropertyValues pvs = new PropertyValues();
        pvs.addPropertyValue(pv);
        pvs.addPropertyValue(pv2);
        System.out.println(pvs);
        BeanDefinition bd = new BeanDefinition("com.dms.shanshan.beans.Person",pvs);
        System.out.println(bd.toString());
    }
}